#ifndef LIGHTSOURCE
#define LIGHTSOURCE

#include "Vector3.h"

using namespace std;

class LightSource {
    public:
    LightSource(Vector3 newPosition) : _Position(newPosition) {;}
    Vector3 GetRandomPositionInLightSource() { return Vector3::GetRandomNormalizedKernel(); }
    Vector3 GetPosition() { return _Position; }
    Ray GetRandomPhotonPath();
    void SetEnergy(float newEnergy) { _Energy = newEnergy; }
    float GetEnergy() { return _Energy; }
    private:
    Vector3 _Position;
    float _Energy;
};


#endif

